package com.example.mannortycoon.uitl;

/**
 * 常量
 */
public class Constant {
    /** 超级管理员ID */
    public static final int SUPER_ADMIN = 1;
    /**
     * 当前页码
     */
    public static final String PAGE = "page";
    /**
     * 每页显示记录数
     */
    public static final String LIMIT = "limit";
    /**
     * 排序字段
     */
    public static final String ORDER_FIELD = "sidx";
    /**
     * 排序方式
     */
    public static final String ORDER = "order";
    /**
     *  升序
     */
    public static final String ASC = "asc";

    /**
     * 价格类型
     */


    public static class PRICE_TYPE{
        public static int SEED_GOLD = 0;
        public static int PEARL = 1;
    }

    /**
     * 菜单lexicon
     */
    public enum MenuType {
        /**
         * 目录
         */
        CATALOG(0);

        private final int value;

        MenuType(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }
}
